package com.example.demo2.service;

import com.example.demo2.AuditHandler;
import com.example.demo2.entity.UserInfo;

public class Level2AuditService extends AuditHandler {


    @Override
    public void audit(UserInfo userInfo) {
        if (auditHandler == null) {
            System.out.println("审核完成");
        } else {
            System.out.println("这是二级审核");
            auditHandler.audit(userInfo);
        }

    }
}
